package com.yunji.cabinet.dao;

import com.yunji.cabinet.bo.CabinetSiteListQueryBO;
import com.yunji.cabinet.domain.CabinetSiteDO;
import com.yunji.common.base.IBaseDao;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2024/12/13 11:14
 * @description : TODO
 **/
public interface ICabinetSiteDao extends IBaseDao<CabinetSiteDO> {
    List<CabinetSiteDO> getCabinetSiteBySid(Long siteId);

    CabinetSiteDO getCabinetSiteByCid(Long containerId);

    boolean deleteByContainerIds(Long... ids);

    List<CabinetSiteDO> search(CabinetSiteListQueryBO bo);

    List<CabinetSiteDO> searchBySiteIds(Long... ids);
}
